package com.ruihu.admin.module.system.department.domain.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruihu.admin.common.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * 部门实体类
 * t_department 数据表
 *
 * @author listen
 * @date 2017/12/19 10:45
 */
@Data
@TableName(value = "t_department")
public class DepartmentEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -6787726615141147044L;

    /**
     * 组织机构id
     */
    private Long orgId;

    /**
     * 部门编号
     */
    private String departmentCode;

    /**
     * 部门名称
     */
    private String departmentName;

    /**
     * 部门简称
     */
    private String departmentShortName;

    /**
     * 责任人id
     */
    private Long managerId;

    /**
     * 责任人编号
     */
    private String managerCode;

    /**
     * 责任人
     */
    private String managerName;

    /**
     * 部门父级id
     */
    private Long parentId;

    /**
     * 上级部门名称列表
     */
    private String parentDepartmentNames;

    /**
     * 排序
     */
    private Long sort;

    /**
     * 描述
     */
    private String remark;

    /**
     * 删除标记
     */
    @TableLogic
    private Integer isDelete;

    /**
     * 是否被禁用
     */
    private Integer isDisabled;


}
